using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameForKids
{
    class BilliardBoard
    {
        public List<PongLine> PongLines;


        // Board
        public string boardLink;
        public string boardComponent;

        public BilliardBoard()
        {
            // board

            boardLink = "BilliardGame/Images/billiard_board";
            
            boardComponent = "PingPongGame/Images/SingleBoardComponent";

            PongLines = new List<PongLine>();

            PongLine temp1 = new PongLine(new Vector2(115, 58), new Vector2(685, 58), Oriention.horizontal, true);
            PongLine temp2 = new PongLine(new Vector2(685, 58), new Vector2(685, 420), Oriention.vertical, true);
            PongLine temp3 = new PongLine(new Vector2(115, 420), new Vector2(685, 420), Oriention.horizontal, true);
            PongLine temp4 = new PongLine(new Vector2(115, 58), new Vector2(115, 420), Oriention.vertical, true);
            PongLines.Add(temp1);
            PongLines.Add(temp2);
            PongLines.Add(temp3);
            PongLines.Add(temp4);

        }

        public void Draw(SpriteBatch batch)
        {
            batch.Draw(Suport.GetTexture(boardLink), new Vector2(90, 30), Color.White);
        }
    }
}
